package com.ehelper.model;

import java.util.Date;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.Id;
import javax.persistence.Table;

/**
 * Issue entity. @author MyEclipse Persistence Tools
 */
@Entity
@Table(name="issue")
public class Issue {

	// Fields

	private Integer issueId;
	private Integer indicterId;
	private Integer defendantId;
	private String issuedesc;
	private Integer tag;
	private Date submitDate;
	private Integer textId;

	// Property accessors

	@Column(name = "TEXT_ID")
	public Integer getTextId() {
		return textId;
	}

	public void setTextId(Integer textId) {
		this.textId = textId;
	}

	@Id
	@GeneratedValue
	@Column(name = "ISSUE_ID")
	public Integer getIssueId() {
		return this.issueId;
	}

	public void setIssueId(Integer issueId) {
		this.issueId = issueId;
	}

	@Column(name = "INDICTER_ID")
	public Integer getIndicterId() {
		return this.indicterId;
	}

	public void setIndicterId(Integer indicterId) {
		this.indicterId = indicterId;
	}

	@Column(name = "DEFENDANT_ID")
	public Integer getDefendantId() {
		return this.defendantId;
	}

	public void setDefendantId(Integer defendantId) {
		this.defendantId = defendantId;
	}


	@Column(name = "ISSUE_DESC")
	public String getIssuedesc() {
		return issuedesc;
	}

	public void setIssuedesc(String issuedesc) {
		this.issuedesc = issuedesc;
	}

	public Integer getTag() {
		return this.tag;
	}

	public void setTag(Integer tag) {
		this.tag = tag;
	}

	@Column(name = "SUBMIT_DATE")
	public Date getSubmitDate() {
		return this.submitDate;
	}

	public void setSubmitDate(Date submitDate) {
		this.submitDate = submitDate;
	}

}